var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            if (!cm.haveItem(4033832)) {
                cm.sendOk("还没拿到修炼证物吗？");
                cm.dispose()
            } else {
                cm.sendNormalTalk("噢，你们拿到修炼证物了！速度快得惊人啊！那么我就认可你们的能力！你们可以走了！", 33, 2440017, false, true)
            }
        } else {
            cm.warp(324000000, 8, false);
            cm.dispose()
        }
    }
};